<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/composite.hpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">composite.hpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;type_traits&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;stack&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
composite.hpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/d14/composite_8hpp__incl.png" border="0" usemap="#ainclude_2design_m_2composite_8hpp" alt=""/></div>
<map name="ainclude_2design_m_2composite_8hpp" id="ainclude_2design_m_2composite_8hpp">
<area shape="rect" title=" " alt="" coords="180,5,385,32"/>
<area shape="rect" title=" " alt="" coords="5,80,88,107"/>
<area shape="poly" title=" " alt="" coords="242,35,103,78,102,72,241,30"/>
<area shape="rect" title=" " alt="" coords="112,80,189,107"/>
<area shape="poly" title=" " alt="" coords="261,35,188,75,185,70,258,30"/>
<area shape="rect" title=" " alt="" coords="214,80,271,107"/>
<area shape="poly" title=" " alt="" coords="278,34,259,68,254,65,273,31"/>
<area shape="rect" title=" " alt="" coords="296,80,349,107"/>
<area shape="poly" title=" " alt="" coords="292,31,311,65,306,68,287,34"/>
<area shape="rect" title=" " alt="" coords="374,80,442,107"/>
<area shape="poly" title=" " alt="" coords="306,30,374,70,372,74,303,35"/>
<area shape="rect" title=" " alt="" coords="467,80,541,107"/>
<area shape="poly" title=" " alt="" coords="322,30,452,72,451,78,320,35"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
此图展示该文件被哪些文件直接或间接地引用了:</div>
<div class="dyncontent">
<div class="center"><img src="../../db/d27/composite_8hpp__dep__incl.png" border="0" usemap="#ainclude_2design_m_2composite_8hppdep" alt=""/></div>
<map name="ainclude_2design_m_2composite_8hppdep" id="ainclude_2design_m_2composite_8hppdep">
<area shape="rect" title=" " alt="" coords="254,5,458,32"/>
<area shape="rect" href="../../d1/d7c/confdom_8hpp.html" title=" " alt="" coords="201,80,384,107"/>
<area shape="poly" title=" " alt="" coords="337,46,305,81,301,78,333,42"/>
<area shape="rect" href="../../db/da8/conffilexml_8cpp.html" title=" " alt="" coords="176,229,348,256"/>
<area shape="poly" title=" " alt="" coords="380,43,399,79,413,132,411,156,399,183,384,200,367,213,328,231,325,226,364,209,381,196,394,180,406,155,408,133,394,81,375,46"/>
<area shape="rect" href="../../df/dbb/conffilexml_8hpp.html" title=" " alt="" coords="5,155,201,181"/>
<area shape="poly" title=" " alt="" coords="246,115,137,157,135,152,244,110"/>
<area shape="rect" href="../../db/d08/confdom_8cpp.html" title=" " alt="" coords="224,155,384,181"/>
<area shape="poly" title=" " alt="" coords="300,122,305,154,300,155,294,123"/>
<area shape="poly" title=" " alt="" coords="146,186,235,226,233,231,143,191"/>
</map>
</div>
</div>
<p><a href="../../d5/dfc/composite_8hpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d5e/structcomposite__private_____1_1st_composite_itfc_base____.html">composite_private__::stCompositeItfcBase__</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d8b/classwheels_1_1dm_1_1composite.html">wheels::dm::composite&lt; DATA_TYPE &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d7a/namespacecomposite__private____.html">composite_private__</a></td></tr>
<tr class="memdesc:d6/d7a/namespacecomposite__private____"><td class="mdescLeft">&#160;</td><td class="mdescRight">组合模式 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d2d/namespacewheels_1_1dm.html">wheels::dm</a></td></tr>
<tr class="memdesc:d8/d2d/namespacewheels_1_1dm"><td class="mdescLeft">&#160;</td><td class="mdescRight">策略方式定义， <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a6bdab9e107d8bdd2a763a06708541f74" id="r_a6bdab9e107d8bdd2a763a06708541f74"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6bdab9e107d8bdd2a763a06708541f74">DECLARE_COMPOSITE_ITFC</a>(name)</td></tr>
<tr class="separator:a6bdab9e107d8bdd2a763a06708541f74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cd2233fbc0824e09a27c5e4dfb71d2f" id="r_a8cd2233fbc0824e09a27c5e4dfb71d2f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a8cd2233fbc0824e09a27c5e4dfb71d2f">COMPOSITE_METHOD</a>(name, ...)&#160;&#160;&#160;virtual bool name( __VA_ARGS__ ) = 0;</td></tr>
<tr class="separator:a8cd2233fbc0824e09a27c5e4dfb71d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb6ec700703a2b0552be0a559735df0" id="r_abeb6ec700703a2b0552be0a559735df0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abeb6ec700703a2b0552be0a559735df0">END_COMPOSITE_ITFC</a>()&#160;&#160;&#160;};</td></tr>
<tr class="separator:abeb6ec700703a2b0552be0a559735df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07ee55ba7664d8f0eb20b67e4f839fea" id="r_a07ee55ba7664d8f0eb20b67e4f839fea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a07ee55ba7664d8f0eb20b67e4f839fea">DECLARE_COMPOSITE_ITFC_DEFAULT</a>(itfcName, ...)</td></tr>
<tr class="separator:a07ee55ba7664d8f0eb20b67e4f839fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a8cd2233fbc0824e09a27c5e4dfb71d2f" name="a8cd2233fbc0824e09a27c5e4dfb71d2f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cd2233fbc0824e09a27c5e4dfb71d2f">&#9670;&#160;</a></span>COMPOSITE_METHOD</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define COMPOSITE_METHOD</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>name</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em></em></span>...&#160;)&#160;&#160;&#160;virtual bool name( __VA_ARGS__ ) = 0;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/dfc/composite_8hpp_source.html">composite.hpp</a> 第 <a class="el" href="../../d5/dfc/composite_8hpp_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<a id="a6bdab9e107d8bdd2a763a06708541f74" name="a6bdab9e107d8bdd2a763a06708541f74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bdab9e107d8bdd2a763a06708541f74">&#9670;&#160;</a></span>DECLARE_COMPOSITE_ITFC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DECLARE_COMPOSITE_ITFC</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line"><span class="keyword">struct </span>name : <span class="keyword">public</span> <a class="code hl_struct" href="../../d4/d5e/structcomposite__private_____1_1st_composite_itfc_base____.html">composite_private__::stCompositeItfcBase__</a> { \</div>
<div class="line">    <span class="keyword">virtual</span> ~name(){}</div>
<div class="ttc" id="astructcomposite__private_____1_1st_composite_itfc_base_____html"><div class="ttname"><a href="../../d4/d5e/structcomposite__private_____1_1st_composite_itfc_base____.html">composite_private__::stCompositeItfcBase__</a></div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00019">composite.hpp:19</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="../../d5/dfc/composite_8hpp_source.html">composite.hpp</a> 第 <a class="el" href="../../d5/dfc/composite_8hpp_source.html#l00022">22</a> 行定义.</p>

</div>
</div>
<a id="a07ee55ba7664d8f0eb20b67e4f839fea" name="a07ee55ba7664d8f0eb20b67e4f839fea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07ee55ba7664d8f0eb20b67e4f839fea">&#9670;&#160;</a></span>DECLARE_COMPOSITE_ITFC_DEFAULT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DECLARE_COMPOSITE_ITFC_DEFAULT</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>itfcName</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em></em></span>...&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    <a class="code hl_define" href="#a6bdab9e107d8bdd2a763a06708541f74">DECLARE_COMPOSITE_ITFC</a>( itfcName )                          \</div>
<div class="line">    COMPOSITE_METHOD( operation , __VA_ARGS__ )                 \</div>
<div class="line">    END_COMPOSITE_ITFC()</div>
<div class="ttc" id="acomposite_8hpp_html_a6bdab9e107d8bdd2a763a06708541f74"><div class="ttname"><a href="#a6bdab9e107d8bdd2a763a06708541f74">DECLARE_COMPOSITE_ITFC</a></div><div class="ttdeci">#define DECLARE_COMPOSITE_ITFC(name)</div><div class="ttdef"><b>定义</b> <a href="../../d5/dfc/composite_8hpp_source.html#l00022">composite.hpp:22</a></div></div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="../../d5/dfc/composite_8hpp_source.html">composite.hpp</a> 第 <a class="el" href="../../d5/dfc/composite_8hpp_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="abeb6ec700703a2b0552be0a559735df0" name="abeb6ec700703a2b0552be0a559735df0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abeb6ec700703a2b0552be0a559735df0">&#9670;&#160;</a></span>END_COMPOSITE_ITFC</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define END_COMPOSITE_ITFC</td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td>&#160;&#160;&#160;};</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d5/dfc/composite_8hpp_source.html">composite.hpp</a> 第 <a class="el" href="../../d5/dfc/composite_8hpp_source.html#l00028">28</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
